export const baseUsage = `
import PhToast from 'ph-toast'
或
import {PhToast} from 'phoeon'
PhToast
    .show(v:string,opt?:{timer?:number,theme?:'success'|'danger'})
    .success(v:string,timer?:number)
    .danger(v:string,timer?:number)
`;
export const demo1 = `
<template>
<ph-button @click="onClick">打开toast</ph-button>
</template>
<script lang="ts" setup>
...

    import PhToast from 'ph-toast'
    const onClick = () => PhToast.show("我爱你，中国");
    const onClick1 = () => PhToast.success("操作成功");
    const onClick2 = () => PhToast.danger("接口异常");

...
</script>
`;
